import "./index.css"
import { useContext } from 'react'
import { Button } from 'antd';

export default function ButtonTest(val) {
  const provider = useContext('MyContext')
  console.log(provider);
  return (
    <div>
      <Button type="primary">button的组件</Button>
    </div>
  )
}